<?php
/**
 * Created by PhpStorm
 * User: 龍zero
 * Date: 2022-04-10
 * Time: 16:28
 */

namespace App\Annotation;

use Hyperf\Di\Annotation\AbstractAnnotation;

/**
 * 简单参数验证
 * @Annotation
 * @Target("METHOD")
 * Class ParamValid
 * @package App\Annotation
 */
class ParamValid extends AbstractAnnotation
{
    /**
     * 参数值
     * @var string
     */
    public $value;

    /**
     * 内置规则
     * @var string
     */
    public $rule;
}